<div class="rk-discern">
  <div class="rk-discern-title">
     <span>
       重大危险源识别
     </span>
  </div>
  <div class="rk-discern-content">
    <form [formGroup]="addDiscern">
      <div class="ui-g ui-fluid ui-md" style="box-shadow: 0px 0px 12px #B5B5B5;border-radius: 10px;padding: 6vh 0">
<!--        <div></div>-->
        <div class="ui-g-12 ui-md-12" style="line-height: 4vh">
<!--          <div class="ui-md-1 ui-g-1"></div>-->
          <div class="ui-g-2 ui-md-2 right">
            <label><span style="color: #FF8A9A">*</span>重大危险源名称:</label>
          </div>
          <div class="ui-g-3 ui-md-3 dialog-input">
            <input pInputText type="text" placeholder="请输入重大危险源名称"  formControlName="seriousDangerName"/>
          </div>
          <div class="ui-g-1 ui-md-1"></div>
          <div class="ui-g-2 ui-md-2 right">
            <label><span style="color: #FF8A9A">*</span>重大危险源所在位置:</label>
          </div>
          <div class="ui-g-3 ui-md-3 dialog-input">
            <input pInputText type="text" placeholder="请输入重大危险源所在位置"  formControlName="seriousDangerLocation"/>
          </div>
        </div>
        <div class="ui-g-12 ui-md-12" style="line-height: 3vh">
<!--          <div class="ui-md-1 ui-g-1"></div>-->
          <div class="ui-g-2 ui-md-2 right">
            <label><span style="color: #FF8A9A">*</span>危险因素:</label>
          </div>
          <div class="ui-g-3 ui-md-3 dialog-input">
            <input pInputText type="text" placeholder="请输入危险因素"  formControlName="seriousDangerElement"/>
          </div>
          <div class="ui-g-1 ui-md-1"></div>
          <div class="ui-g-2 ui-md-2 right">
            <label><span style="color: #FF8A9A">*</span>危险源主要控制措施:</label>
          </div>
          <div class="ui-g-3 ui-md-3 dialog-input">
            <input pInputText type="text" placeholder="请输入危险源主要控制措施"  formControlName="seriousDangerMeasure"/>
          </div>
        </div>
        <div class="ui-g-12 ui-md-12" style="line-height: 3vh">

          <div class="ui-g-2 ui-md-2 right">
            <label><span style="color: #FF8A9A">*</span>危险源管控状态:</label>
          </div>
          <div class="ui-g-3 ui-md-3 dialog-input">
            <input pInputText type="text" placeholder="请输入危险源管控状态"  formControlName="seriousDangerStatus"/>
          </div>
          <div class="ui-g-1 ui-md-1"></div>
          <div class="ui-g-2 ui-md-2 right">
            <label><span style="color: #FF8A9A">*</span>危险源管控周期:</label>
          </div>
          <div class="ui-g-3 ui-md-3 dialog-input">
            <input pInputText type="text" placeholder="请输入危险源管控周期"  formControlName="seriousDangerCycle"/>
          </div>
        </div>
        <div class="ui-g-12 ui-md-12" style="line-height: 3vh">
          <div class="ui-g-2 ui-md-2 right">
            <label><span style="color: #FF8A9A">*</span>危险源管控层级:</label>
          </div>
          <div class="ui-g-3 ui-md-3 dialog-input">
            <input pInputText type="text" placeholder="请输入危险源管控层级"  formControlName="seriousDangerControlLevel"/>
          </div>
          <div class="ui-g-1 ui-md-1"></div>
          <div class="ui-g-2 ui-md-2 right">
            <label><span style="color: #FF8A9A">*</span>危险源应急措施:</label>
          </div>
          <div class="ui-g-3 ui-md-3 dialog-input">
            <input pInputText type="text" placeholder="请请输入危险源应急措施"  formControlName="seriousDangerEmergencyMeasure"/>
          </div>
        </div>
        <div class="ui-g-12 ui-md-12" style="line-height: 3vh">
          <div class="ui-g-2 ui-md-2 right">
            <label><span style="color: #FF8A9A">*</span>危险源主要负责人:</label>
          </div>
          <div class="ui-g-3 ui-md-3 dialog-input">
            <input pInputText type="text" placeholder="请输入危险源主要负责人"  formControlName="seriousDangerPrincipal"/>
          </div>
          <div class="ui-g-1 ui-md-1"></div>
          <div class="ui-g-2 ui-md-2 right">
            <label><span style="color: #FF8A9A">*</span>危险源最近管控时间:</label>
          </div>
          <div class="ui-g-3 ui-md-3 dialog-input">
            <p-calendar formControlName="seriousDangerTime" [style]="{width: '100%'}" placeholder="请选择危险源最近管控时间..." [monthNavigator]="true" [yearNavigator]="true" dateFormat="yy-mm-dd"  yearRange="1700:2200" [locale]="esDate"></p-calendar>
          </div>
        </div>
         <div class="ui-g-12 ui-md-12" style="display: flex;align-items: center">
           <div class="ui-g-2 ui-md-2 right">
             <label >危险源图片路径:</label>
           </div>
           <div class="ui-g-10 ui-md-10">
             <app-upload-image (selectFile)="selectImageFile($event)" #upimg [ImageOption]="this.ImageOption"></app-upload-image>
           </div>
         </div>
        </div>
    </form>
  </div>
  <div class="rk-discern-fotter">
    <button pButton type="button" label="提交" class="ui-button-rounded" (click)="submitClcik()"></button>
<!--    <button pButton type="button" label="批量上传" class="ui-button-rounded"></button>-->
  </div>
</div>
